from views.tabs.tab_base import TabBase
from ttkbootstrap.constants import *

class NetworkConnectTab(TabBase):
    def __init__(self, ttk, style, notebook, name):
        super().__init__(ttk, style, notebook, name)
        self.create_widgets()

    def create_widgets(self):
        # 创建标签页
        tab = self.ttk.Frame(self.notebook)
        tab.pack(fill=BOTH, expand=True)
        self.notebook.add(tab, text=self.name)


        # 创建标签内容，并将标签添加到对应的标签页中
        self.ttk.Label(tab, text="待开发").place(x=20, y=20)

    def print_message(self, a):

        print("Button 2 clicked",a)